package com.baizhi.springboot.dao;

import com.baizhi.springboot.entity.Guru;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface GuruDao {
    List<Guru> selectGuruByPage(@Param("offset")Integer offset, @Param("limit")Integer limit);

    Integer selectCount();

    void insertGuru(Guru guru);

    void deleteGuru(Integer id);

    Guru selectOneGuru(Integer id);

    void updateGuru(Guru guru);

    List<Guru> selectAllGuru();

    void daoruGuru(List<Guru> list);
}
